package org.tao.lightningmq.common.enums;

/**
 * @Author lht
 * @date 2025/1/19 - 18:16
 * @description:
 */
public enum SendMessageToBrokerResponseStatus {

    SUCCESS(0,"发送成功"),
    FAIL(1,"发送失败"),
    ;

    final int code;
    final String desc;

    SendMessageToBrokerResponseStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
